package it.polimi.traveldream.web;

import it.polimi.traveldream.GestionePacchettoLocal;

import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.faces.bean.SessionScoped;

@ManagedBean(name="maskpagamento")
@RequestScoped

public class MaskPagamento{
	
	@EJB
	private GestionePacchettoLocal gp;

	private String nome;
	
	private String cognome;
	
	private String email;
	
	private String phone;
	
	private String ncarta;
	
	private String cvv;

	

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getNome() {
		return nome;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}

	public String getCognome() {
		return cognome;
	}

	public void setCognome(String cognome) {
		this.cognome = cognome;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getNcarta() {
		return ncarta;
	}

	public void setNcarta(String ncarta) {
		this.ncarta = ncarta;
	}

	public String getCvv() {
		return cvv;
	}

	public void setCvv(String cvv) {
		this.cvv = cvv;
	}
	
	/*public void conferma(){
		gp.salvaindb();
		//return "/users/index.xhtml";
	}*/

	
}

                    